import  cv2
image=cv2.imread('cup.jpg')
gray_image=cv2.cvtColor(image,cv2.COLOR_BGR2GRAY)
hsv_image=cv2.cvtColor(image,cv2.COLOR_BGR2HSV)
import  cv2
image=cv2.imread('cup.jpg')
cv2.imshow('gray',gray_image)
cv2.imshow('hsv',hsv_image)
cv2.waitKey()
cv2.destroyAllWindows()